#ifndef _DEFINE_H_
#define _DEFINE_H_

typedef unsigned char INT8U;
typedef unsigned short INT16U;
typedef unsigned long INT32U;
typedef signed char INT8S;
typedef signed short INT16S;
typedef signed long INT32S;

typedef unsigned char  BYTE;
typedef unsigned short WORD;
typedef unsigned long  DWORD;
#ifndef __BOOL__
  #define __BOOL__
  typedef unsigned int   BOOL;
  //typedef unsigned int   bool;
#endif

typedef unsigned char uchar;

typedef  unsigned char          uint8;       
typedef  signed char            sint8;       
typedef  unsigned short      uint16;    
typedef  signed short        sint16;      
typedef  unsigned long       uint32;     
typedef  signed long         sint32;

typedef  unsigned char          uint8_t;       
typedef  signed char            int8_t;       
typedef  unsigned short      uint16_t;    
typedef  signed short        int16_t;      
//typedef  unsigned long       uint32_t;     
//typedef  signed long         int32_t;


#define           TRUE      1
#define           FALSE      0


#endif

